Challenge 1
Complete the Git command to inspect commit history.
git
Press Ctrl⌘Enter to check your answer
In a new disposable directory, reproduce the workflow without copying the lesson’s exact command sequence. Your final repository must contain one commit on `main`, and that commit must contain a file named `notes.txt` whose contents are `Git state matters.` followed by a newline. Before committing, use a status or diff command to verify what is staged. After committing, use `git log` or `git show` to verify the resulting history.
Challenge 1
git
Press Ctrl⌘Enter to check your answer
Challenge 2
git
Press Ctrl⌘Enter to check your answer
Challenge 3
git -b main
Press Ctrl⌘Enter to check your answer
Challenge 4
git --short
Press Ctrl⌘Enter to check your answer