10 basic git commands to master GitHub

Опубликовано: 21 Июнь 2026
на канале: Avishi Jain
560
22

Here's the description of all the commands.

1)git init - Initialize a new Git
repository

2)git clone -Clone a remote repository to
local machine

3)git add -Add changes to the staging
area

4)git commit
-Record changes to the
repository

5)git push
-Upload local changes to a
remote repository

6)git pull
-Fetch and merge remote
changes to local repository

7)git branch
-List, create, or delete
branches

8)git checkout
-Switch branches or restore
files

9)git merge
-Merge changes from
different branches

10)git status
-Show the current status of
the repository.

Feel free to comment in case of queries.