Practice reading commit history and checking remote repository configuration.
Build comfort with the commands used to inspect repository history and origin settings.
Display recent commit history in a concise graph format.
Command
git log --oneline --graph --decorateExpected Result
You should see a short commit graph with branch names and commit hashes.
Inspect the branches available in the repository.
Command
git branchExpected Result
You should see a list of local branches with the active one highlighted.
Check both local and remote-tracking branches.
Command
git branch -aExpected Result
You should see local and remote branches.
Inspect the URLs configured for the repository remotes.
Command
git remote -vExpected Result
You should see fetch and push URLs for origin and other remotes if present.
Download new branch and commit information from the remote without merging.
Command
git fetchExpected Result
Git should update remote-tracking information successfully.
You can inspect history, branches, and remotes confidently.
You understand the difference between fetch and pull at a practical level.