EasyEnv
Engineering/Courses/Catalog/Git/Init and Your First Commit
Git
BeginnerLesson 1 of 1325 min · hands-on

Init and Your First Commit

Part of the Git course

Imagine you are writing an essay in a text editor, and every time you make a meaningful change, you save a full copy under a new name: essay-v2, essay-v3, essay-final, essay-final-actually. It works, sort of, until you have thirty files and no memory of which one has the paragraph you liked. Git solves this properly.

You talk to Git through the terminal, a window where you type commands as words instead of clicking buttons. If you have never used one, look for a panel in your workspace with a blinking cursor and a line that ends in a $, something like ...

Want to learn Git Init and Your First Commit in a real environment?

Click below, get a fresh Linux box with Git ready to go, and work through Init and Your First Commit hands-on with an AI tutor that knows your code.

Start this lessonInit and Your First Commit

What you'll learn

  • Git init
  • Git config
  • Working tree
  • Staging area
  • Git add
  • Git commit

Read this lesson in your language

All lessons in this course

13 lessons
  1. 1Init and Your First Commit25 min
  2. 2Status, Diff, and Log25 min
  3. 3Branches and Merging30 min
  4. 4Resolving Merge Conflicts30 min
  5. 5Remotes: Push, Pull, Fetch30 min
  6. 6Stash and Cherry-pick25 min
  7. 7Rebasing30 min
  8. 8Interactive Rebase and Squashing30 min
  9. 9Tags and Releases20 min
  10. 10Branching Workflows20 min
  11. 11Recovering Lost Work25 min
  12. 12Hooks25 min
  13. 13Capstone: A Full Pull Request Flow40 min

Explore other courses

Init and Your First Commit - Git (English) | Engineering Courses