Git Quiz

  1. How would you edit a commit that has just been pushed to github?
  2. How would you make one small change after you had just committed, without making another commit.
  3. How will you know if a branch has just been combined into a master in Git?
  4. How can you configure a Git repository to run code sanity checking tool (prettier/lint) before making commits? (hints: Husky, Git Hooks) - Mention all steps and commands.