To add remote repository, here via ssh

git remote set-url origin git@github.com:thyprabhat/nvim.git

Change the user name For just one repo, go into to the relevant repo DIR and:

git config user.name "Your Name Here"
git config user.email your@email.example

For (global) default email (which is configured in your ~/.gitconfig):

git config --global user.name "Your Name Here"
git config --global user.email your@email.example

You can check your Git settings with: git config user.name && git config user.email

1 git clone

The clone command in git is used when you want to download an existing git repository to your local computer.

2 git pull

When you want to take changes or updates done by other developer/team member on git repository, you have to use git pull.

In detail git pull is the command that fetches the content from a remote repository and integrates it with the local repository/branch. It is, in actuality, a combination of git fetch and git merge called in that order.

3 git fetch

Git “fetch” Downloads commits, objects and refs from another repository. It fetches branches and tags from one or more repositories.