Practical Git: Capture code history snapshots with git add/commit/push
When working with Git, the most common thing developers do is stage, commit, and push the changes they make to a code base - this "edit -> stage -> commit -> push" cycle is the main workflow when using Git; it lets developers make "snapshots" of changes to their codebase which they can share and revert back to. In this lesson, we make some changes to our codebase and then
git add (stage),
git commit (store in history), and
git push (sync with our remote repository) those changes. We also use
git status along the way to see an update of where our repository is at.