Every developer almost uses Git or Github in projects. We going to learn Git and Github from beginning to end also going to learn general and important terms in Github.
What Is Version Control?
Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For example, you changed the code but the code is not working, you can call the last records.
What Is Git?
Git is a free and open-source distributed version control system designed to handle everything from small to large projects quickly and efficiently.
Why We Use Git And Verison Control?
Very large projects can have file complexities and we need to arrange this project for easy editing files. So we use git or anything else version control software, also, these version control software help to share the file.
What Is Github?
GitHub, Inc., a subsidiary of Microsoft, uses Git to provide hosting for software development and version control. It provides Git’s distributed version control and source code management (SCM) functions, as well as its own functions. It provides access control and multiple collaboration functions for each project, such as error tracking, feature request, task management, continuous integration, and Wiki.
We before beginning to learn to use git in a project we should know some git terms.
- Commit = It is the process of making temporary changes permanent.
- Repository = The folder/directory equivalent to the project-all your version-controlled files (and recorded changes) are located in the repository.
- Push = Updating the repository with your edits.
- Pull = Updating your local version of the repository to the current version, since others may have edited in the meanwhile.
Git And Github For Visual Studio Code
Visual studio code has 2 main extensions for git and GitHub. Git History and Github you can install these extensions and you can use git in Visual Studio Code. If you want help, you can look at this site.
CONGRATULATIONS YOU FINISHED GIT AND GITHUB GUIDE!