Git Commands
Most important commants are related to share and updates and they are
- git remote add
- git fetch
- git merge
- git push
- git pull
- git remote add This command will create a new connection record to a remote repository. one of the eg can be git remote add original . So basically the remote add command sereves as a means through which collabarators for a project can independently make commits for a shared project.But what actually is git remote ? Its a remote repository in git means a git repository that hosted on internet or other network so u can connect this with the word remote which actually means far away from where other people live same way far away from local repository.
2.git fetch This command is used to download content from a remote repository. Its a critical piece of collaboratice git workflow.So in git fetch command it tells the local repository the hanges available in remote repository without bringing the changes in local repository.
3.git merge It lets you to take independent lines of development created by git branch and integrate them into a single branch .
4.git push It is used to upload local repository content to remote repository
5.git pull This command is used to fetch and download content from remote repository and immediately update the local repository to match that content