This commands make a bookmark which signifies that this particular remote refers to this URL.
This remote will be used to pull any content from the directory and push our local content to the global server.

27.git remote add <address>

To add new remotes to our local repository for a particular git address.

28.git remove rm

To remove a remote from our local repository.

29.git push -u origin master

To push all the contents of our local repository that belong to master branch to the server(Global repository).

30.git clone https://github.com/madaan123/MyAlgorithms.git

To clone or make a local copy of the global repository in your system
(git clone command downloads the repository and creates a remote named as origin which can be checked by command – git remote -v).

31.git branch Testing

To create a new branch named as Testing.

32.git branch

To see all the branches present and current branch that we are working on.

33.git checkout Testing

To switch to branch Testing from master branch.

34.ls

To see directories and files in the current directory.

35.git merge Testing

To merge Testing branch with master branch.

36.git branch -d Testing

To delete Testing branch.

37.git checkout -b admin

To create a new branch admin and set it as current branch.

38.git branch -r

To look at all the remote branches.

39.git branch -D Testing

To forcefully delete a branch without making commmits.

40.git tag

To see the list of available tags.

41.git checkout v0.0.1

To set the current tag to v0.0.1.

42.git tag -a v0.0.3 -m “version 0.0.3”

To create a new tag.

43.git push –tags

To push the tags to remote repository.

44.git fetch

To fetch down any changes from global repository to current repository

45.git rebase

Three tasks are performed by git rebase

Move all changes to master which are not in origin/master to a temporary area.

Run all origin master commits.

Run all commits in the temporary area on top of our master one at a time, so it avoids merge commits.

This article is contributed by Ashish Madaan. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.