Git Project Life Cycle
A typical git project life cycle contains following actions.
Consider a central repository containing the project files. This is located in a remote location and can be accessed using project URL.
From local machine
Clone the remote central repository to create a local repository. Now the local repository contains all project files from remote central repository.
Make changes to the files in the local repository.
Commit these changes. The commit operation updates the local git repository only. No connection/changes is made to the remote repository.
Once you are done with all the modifications/commits, you may Push multiple commits to the remote repository.
Other developers/users who have their own clones of the central remote repository can Pull from the remote repository to get your pushed changes.