Git and GitHubgit 2.54 · GitHub · macOS, Linux or Windows
Dashboard
0%
All courses
00Git and GitHub7 min01Installing Git9 min02Your first repository9 min03Staging and committing14 min04Reading git status11 min05.gitignore12 minSection quiz5 questions
06Looking at history with git log12 min07Seeing what changed with git diff12 min08Writing a commit message10 minSection quiz5 questions
09Branches12 min10Switching branches12 min11Merging a branch13 min12Resolving merge conflicts15 minSection quiz5 questions
13Git remotes11 min14GitHub authentication13 min15Pushing and pulling14 min16Cloning a repository10 min17Pull requests12 min18Forks11 minSection quiz5 questions
19Undoing changes before a commit11 min20Amending, reverting and resetting a commit15 min21Stashing work in progress11 minSection quiz5 questions
22Project repository structure12 min23Writing a README11 min24Large files: data and model weights13 min25Project: your first project on GitHub18 minSection quiz5 questions

History quiz

Question 1 of 5

Which command prints the last three commits as one line each?

Back toWriting a commit messageBranches →

Getting one wrong here is cheaper than getting it wrong in your own code.