Basic git commands

Basic Git Commands
git add filename
 * Adding a file ready for a commit:

git commit -m "message"
 * Committing the file to the local repository:

git push
 * Pushing the local repository to the remote:

git pull
 * Updating the local repository and directory from the remote repository: