Log in from a computer to take this course

You'll need to log in from a computer to start Learn Git & GitHub. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store
Learn

Often with Git, you’ll need to refer back to an earlier version of a project. Commits are stored chronologically in the repository and can be viewed with:

git log

Instructions

1.

From the terminal, log a list of your commits.

In the output, notice:

  • A 40-character code, called a SHA, that uniquely identifies the commit. This appears in orange text.
  • The commit author (you!)
  • The date and time of the commit
  • The commit message

Click “Next” to continue.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?