Git | Basic
Here’s a quick list of commands to know if you’re starting with Git. ⌨ Set email ➡️ git config global user.email ⌨ Set name ➡️ git config global user.name ⌨ Setup your own local repository ➡️ git init ⌨ Clone an existing repository ➡️ git clone ⌨ Add changes ➡️ git add ⌨ Commit changes ➡️ git commit ⌨ Check the status of changes ➡️ git status You can practice using the above commands locally on your computer by installing Git from here: Download GIT Give it a try with folder and some text files! If you work with an online repository like GitHub there are some other commands that you will commonly use: ⌨ Set/view a remote repository ➡️ git remote ⌨ Push a commit ➡️ git push ⌨ Pull changes (combines git fetch, git merge) ➡️ git pull As you start to work more with features like branching and merging, you’ll use other commands like: ⌨ Create a branch ➡️ git branch ⌨ Switch to a specific branch ➡️ git checkout ⌨ Merge branches ➡️ git merge There many more commands but these are some that you’ll be using a lot.

Here’s a quick list of commands to know if you’re starting with Git.
⌨ Set email ➡️ git config global user.email
⌨ Set name ➡️ git config global user.name
⌨ Setup your own local repository ➡️ git init
⌨ Clone an existing repository ➡️ git clone
⌨ Add changes ➡️ git add
⌨ Commit changes ➡️ git commit
⌨ Check the status of changes ➡️ git status
You can practice using the above commands locally on your computer by installing Git from here: Download GIT
Give it a try with folder and some text files!
If you work with an online repository like GitHub there are some other commands that you will commonly use:
⌨ Set/view a remote repository ➡️ git remote
⌨ Push a commit ➡️ git push
⌨ Pull changes (combines git fetch, git merge) ➡️ git pull
As you start to work more with features like branching and merging, you’ll use other commands like:
⌨ Create a branch ➡️ git branch
⌨ Switch to a specific branch ➡️ git checkout
⌨ Merge branches ➡️ git merge
There many more commands but these are some that you’ll be using a lot.