Version Control with Git and Microsoft GitHub
Introduction
During my journey towards learning Git and Microsoft GitHub I had faced many issues. This article will help you get started with Git, create your own repository and upload your code on GitHub.
What is Version Control ?
Version control system is a system which helps you to keep track of the changes that were made in the file since the file was uploaded on the system. The details of the changes include the name of the person who made the changes the time the changes were made, it also keeps track of different versions of the file, and many more features.
What is Git and Microsoft GitHub ?
Git is a distributed version control system i.e. a system where every user has a local repository in there own computer where they have a backup of the code and where changes are made before uploading the code on the remote repository. GitHub is a graphical user interface to help you manage git and it’s remote repositories.
Getting Started with your first Repository ?
Here you will learn how to create a local repository and uploading the code on remote repositories using basic commands
Step 1: Creating a local repository
Step 2: Adding your file to Staging Area
Step 3: Creating a remote repository
Step 4: Giving the path of remote repository
Step 5: Commit the file
Step 6: Push the files to remote repository
Pull the files to the local repository
Important
This was a basic walk through of setting up you repository on Git and GitHub. After you are done with all of this i would recommend you all to learn different commands and concepts like branching, fork, etc. I have attached a link to my lecture for hands-on Git and GitHub and the importance of Opensource in collaboration with Anush Krishna and Irfan Dahir.
Resource Section
Click the links to continue
- YouTube Link: https://youtu.be/lyI1EmeO2xQ
- What is git?
- Lingos that everyone should know!
- A tutorial introduction to Git
- A nice tutorial on basics of git
- A tutorial of git powered by Microsoft!
- A useful minimum set of commands for Everyday Git
- Some workflows that exists with git
- A little lower level tutorial: complete intro tutorial first
- Visual git Cheat Sheet!
- On git commit by Rohit Ashiwal
- How to write better git commit messages by Rohit Ashiwal