Hello there 👋
These resources will help you get up and going with Git and GitHub.
Tutorial on how to create GitHub Account
If you are a Windows user. Please download the following application to use the terminal in windows.
Or enable Windows SubSystem for Linux and follow the instructions for Linux systems.
For installing git on Ubuntu
$ sudo apt install git
After finishing the installation, run the following commands to configure the global user info for git on your computer.
$ git config --global user.name "Your github username"
$ git config --global user.email "Your email"
Tutorial on how to install Git
You can install any of your favorite editor to start working on projects. I strongly recommend using VSCode, since it got a lot of Git integrations and plugins to help.
Get started by watching the interview with Linus Torwalds, The Mind Behind Linux.
- Daniel Shiffman's Git and GitHub tutorial, This is simply ❤️
- Git Cheat Sheet
- Git Additional Cheat Sheets
- Learn about Linux commands on CLI
- Udacity's Git and GitHub tutorial
- GitHub Training courses from GitHub lab
- GitHub Guides:The easiest way to get started with GitHub
- Markdown Language Tutorial
- Git Handbook
- If you stuck on something, or want some handy git commands to get out of mess. Refer Katie's Oh-Shit-Git!
- Learn Git With Git-Tower: Covers some cool tutorials in both pdf and videos in addition to the different cheat sheets in different languages.
- Learn by doing:
- Learn Git branching
- Visualizing Git: Enjoy an practice Git while visualising all what happens.
- FreeCodeCamp's curated list of resources to help new open sourcerers.
- Learn by making your first Pull Request at GitMe
- Find open issues you can work on at issuehub
- Find project based on your interest at up for grabs
- Submit 5 Pull Requests between October 1st and 31st to earn a free TShirt from HacktoberFest
- Customize your terminal with Oh-My-Zsh
- Use Bat, Cat with wings
- Vim Tutorials on how to get out of it
# To watch the status of your local repo
git status
# To add files in stage area
git add <file-name>
git add .
# To save the changes permanently in history (by creating versions)
git commit -m <message>
git commit -am <message>
# To watch your commit history
git log
# To push your commited changes (or versions) to github
git remote add origin <link-of-your-project>
git push origin master
# To download whole code present on GitHub
git clone <link-of-project>
# To pull only changed code from GitHub
git pull origin
# To see all branches present in your project
git branch
# To create a new branch
git branch <branch-name>
# To delete branch safely
git branch -d <branch-name>
# To delete branch forcefully
git branch -D <branch-name>
# To rename branch
git branch -m <new-name>
# To change from one branch to another
git checkout <branch-name>
# To see the previous versions
git checkout <commit-index>
# To create a new branch and move to it
git checkout -b <new-branch-name>
# To merge branches
git checkout <final-branch-name>
git merge <branch-to-merge>
# To cancel merge process
git merge --abort
Feel free to open an issue or contact the core team. We are glad to help you. ❤️