Git Commands Tutorial | Git Clone, Add, Commit, Push, Pull, Checkout, Branch, Status

Published: 13 January 2021
on channel: WebStylePress
132,555
1.5k

Learn git commands with examples. This is a complete git tutorial on essential command in git as well as git bash tutorial to learn github commands step by step. Previously I shared common git commands and easy way to use git on Windows by using Git GUI, git bash and git for Windows.

In this video I will show you how can you use those git commands with git bash or terminal. For MAC or Linux you have got your terminal. For Windows you have got command prompt or power shell. But I will prefer git for Windows. Git for Windows gives you git bash utility. That is similar to terminal. We will use git bash to clone repo from github. We will practice:

git clone
git add .
git commit
git commit -m "commit message"
git push
git push origin branch-name
git pull
git pull origin branch-name
git branch
git branch new-branch-name
git checkout
git checkout other-branch-name
git checkout -b new-branch-name
git status

These are common command for git and in most cases you only need these to do the job.
Learn these are you are good to go with version control system.

To use git, you should generate SSH keys for PC and register these with github or gitlab to do all of this. This is how github recognizes your PC and allows files transfer between PC and your github repos.

Thank you!
❤️ LIKE 👍 Thumb up
👊 SUBSCRIBE (https://www.webstylepress.com/sub)
🔔 Hit BELL icon
✍️ We read every comment. Write something.

Connect with me: You can find me on social media using the same handle: WebStylePress

#webstylepress #git #github #webdevelopment #deployment #commands #gitbash


On this page of the site you can watch the video online Git Commands Tutorial | Git Clone, Add, Commit, Push, Pull, Checkout, Branch, Status with a duration of hours minute second in good quality, which was uploaded by the user WebStylePress 13 January 2021, share the link with friends and acquaintances, this video has already been watched 132,555 times on youtube and it was liked by 1.5 thousand viewers. Enjoy your viewing!