Challenge 1
Complete the Git command to inspect remote configuration.
git
Press Ctrl⌘Enter to check your answer
Create two disposable repositories: a source repository and a bare remote. Add the remote to the source with a non-default name such as upstream, publish main, and create a separate clone. In the clone, inspect the remote name and fetch refspec, verify refs/remotes/origin/main, then advance the source main branch and fetch again. Prove with object IDs that origin/main advances while the clone’s current local branch and working tree remain unchanged. Finally create a new topic branch in the source, publish it, fetch in the clone, and prove that refs/remotes/origin/topic exists while refs/heads/topic does not. Record the exact refs and object IDs you observed.
Challenge 1
git
Press Ctrl⌘Enter to check your answer
Challenge 2
git -v
Press Ctrl⌘Enter to check your answer
Challenge 3
git origin
Press Ctrl⌘Enter to check your answer
Challenge 4
git origin main
Press Ctrl⌘Enter to check your answer