How to install, set up, configure, and get started with git and github
How to install, set up, configure, and get started with git and GitHub
Git vs Github. Git is a software system people use to create and keep different versions of their code. GitHub is an online open source platform where people upload their git repositories so that they can have access to it from a different machine and also to give other people access to the code. There are other places online to host your git repositories, but GitHub is the most popular one used by companies and individuals. Think of repository as a folder holding different versions of your code.
Step 1: Set up a GitHub account here: https://github.com/
Step 2: Download Git here: https://git-scm.com/download
Step 3: Verify Git is installed by pulling up git bash or just regular terminal and typing “Git –version” and this should tell you what version of git you have installed if you actually have it installed
Step 4: Use the GitHub set up instructions to set up your username and email address on git using git bash. https://help.github.com/en/articles/set-up-git
Step 5: Follow the instructions on the video to create your first repository, type code in visual studio code or any other code editor, add, commit, and push your first code online into your first github repository.
All the links in one place:
Github.com – https://github.com/
Download Github – https://git-scm.com/download
Git setup instructions – https://help.github.com/en/articles/set-up-git
Set git username – https://help.github.com/en/articles/setting-your-username-in-git
Set git commit email address – https://help.github.com/en/articles/setting-your-username-in-git