git clone
is used for just downloading exactly what is currently working on the remote server repository and saving it in your machine's folder where that project is placed. (Only one time)
git fetch
just "downloads" the changes from the remote to your local repository.
git pull
is a (clone(download) + merge) operation and mostly used when you are working as teamwork. (Can be multiple time if there is new changes on the repo). git pull downloads the changes and merges them into your current branch.
git add
is used to stage the all the file for commit to your local repository by the following command.
git branch
is used to see list of available branch on local repository
To change the remote to SSH
git remote
set-url origin [email protected]:bxianlim/simple_cloud_project.git