Heroku utilizes Git as the source code revision control system of choice for applications deployed on the Heroku platform. Git is a very powerful decentralized revision control system for managing code in a distributed development environment. Git has evolved to become the revision control system of choice for thousands of distributed software projects across the world.
To work with Heroku, one needs to be a little familiar with various Git commands. Hence, we will cover some Git concepts and commands to help you work with Heroku efficiently.
There are two scenarios that are relevant with respect to tracking projects with Git. They are as follows:
Tracking a new project
Using an existing Git project
Files that have not been added to Git have untracked status, as the repository isn't aware of their existence and has no reference to them.
Files that are already in the repository have a tracked status and are in the last snapshot of your repository. They...