Too Long; Didn't Read
This article lists the most important Git commands that will help your team get work done efficiently. It is a great tool for tracking source code changes during software development. The commands above are for local changes. Sometimes you realize a mistake after pushing the local changes to the remote branch. These commands can help you get rid of those changes completely. Make sure you have backed up your local changes. Use this to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected.