Git is one of the most popular version-control systems used in software development. It allows teams of developers to work on the same code base without overwriting each other's changes. Git is a core piece of the Heroku platform, and having a basic understanding of how it works is a prerequisite to deploy code to Heroku.
In this recipe, we'll learn enough about Git to deploy code to Heroku.
Unfamiliar with the command line? There is a great resource to quickly get up to speed on the basics at http://cli.learncodethehardway.org/book/.
Git allows us to track every change to our source code. This makes it simple to go back in time and revert changes as well as view the history of our code. Let's ...