Uploaded November 2017 | Updated September 2026, 2 weeks ago
A simple tutorial for the most basic git workflow for beginners, along with how to create a github repo and upload it to github. Here are the basic steps:
1. git init . (initialize the current directory as a git repository)
2. git status (see changes to tracked files, untracked files, etc.)
3. git add /path/to/file/or/dir (add just that file or directory to git)
3a. git add . (add everything in the current directory)
4. git commit -m "commit message"
5. git push (push to an upstream repo, if you've configured it)
These are the very basics of creating a repository and pushing it up to github. I'll do another video with a more theoretical and thorough look at git basics, but that one will be much longer.
Pro Git Book (free): git-scm.com/book/en/v2
My step-by-step project-based Linux course for beginners: udemy.com/course/hands-on-linux-self-hosted-wordpress-for-linux-beginners/?referralCode=19C0A7DEE2FD53C9C09D
Free Linux Sysadmin Course Playlist: youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK
DigitalOcean referral link: https://m.do.co/c/0380a1db56a6
Patreon: patreon.com/tutorialinux
Official Site & e-mail list: tutorialinux.com
Twitter: twitter.com/tutorialinux
Facebook: facebook.com/tutorialinux
Podcast: kernelpanicpodcast.com
A simple tutorial for the most basic git workflow for beginners, along with how to create a github repo and upload it to github. Here are the basic steps:
1. git init . (initialize the current directory as a git repository)
2. git status (see changes to tracked files, untracked files, etc.)
3. git add /path/to/file/or/dir (add just that file or directory to git)
3a. git add . (add everything in the current directory)
4. git commit -m "commit message"
5. git push (push to an upstream repo, if you've configured it)
These are the very basics of creating a repository and pushing it up to github. I'll do another video with a more theoretical and thorough look at git basics, but that one will be much longer.
Pro Git Book (free): git-scm.com/book/en/v2
My step-by-step project-based Linux course for beginners: udemy.com/course/hands-on-linux-self-hosted-wordpress-for-linux-beginners/?referralCode=19C0A7DEE2FD53C9C09D
Free Linux Sysadmin Course Playlist: youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK
DigitalOcean referral link: https://m.do.co/c/0380a1db56a6
Patreon: patreon.com/tutorialinux
Official Site & e-mail list: tutorialinux.com
Twitter: twitter.com/tutorialinux
Facebook: facebook.com/tutorialinux
Podcast: kernelpanicpodcast.com










