Committing Source Control Files—Git

When you are finished editing files, you can commit them to source control. Committing a file adds your changes to the local Git database. It is a good idea to periodically commit files so that you have a backup in source control. When you are ready to add your local commits to the remote repository, you can push these files to the remote.