1- Updates information within the running tree to check the model within the index or the required tree.
$ git checkout
2- Provides the information within the native repository and phases them for devote.
$ git upload .
3- Commits the tracked adjustments and prepares them to be driven to a faraway repository.
$ git devote -m “upload your devote”
4- Pushes the adjustments to your native repository as much as the faraway repository
$ git push foundation grasp