Git has everything you need to make you safe from losing your code changes. Here are some tips on how to use git to get the most out of your code. Use git to check out a new branch for every task you start, and to make changes to existing ones.
Table of contents
1. Checking out a new branch2. Selecting files for commit3. Making a commit4. Revert all changes5. See the latest commits6. Pulling the changes from the remote branch7. Undoing a local, unpushed commit8. Undoing a pushed commit9. Stashing my changes10. Reseting your branch to remote version11. Picking commits from other branchesSort: