Git is a version control system designed to help users keep track of changes to files within their projects. Compared to other version control systems, Git is more reliable, has more accessible syntax, has free and open-source syntax, is faster and performs better. It is predominantly used via the command line and developers tend to find Git commands and syntax easy to learn.
GitHub is another service commonly used among developers. It is a cloud based hosting service that lets you manage Git repositories from a user interface. It incorporates Git version control system and extends this by providing its own features on top. GitHub is like a social network for developers, it enables them to interact and also work as a team to achieve their desired goals. In this article, we will learn about how they work individually and also get more insight into certain terms used in their workspace.
Firstly, let us learn some common git commands along with their descriptions and examples:
Let us now learn what some of the terms mentioned above mean:
A repository often abbreviated as a “repo” is a data structure used to store metadata for a set of files or directory structure. The key concepts or purpose of a repository include storage in the sense that it stores files, the history of changes made to files and information about these changes, version control meaning it keeps track of every change made to files and directories it contains which includes who made the changes, when they were made and exactly what changes was made and lastly, it aids collaborations by facilitating collaboration among multiple developers.
Local Repository: This is a repository stored on a user’s local machine where user’s can make changes, commit them and perform various version control operations locally.
Remote Repository: This is a repository hosted on a server accessible over a network (usually the internet) that can be accessed by multiple users. Services like GitHub, GitLab and Bitbucket provide hosting for remote repositories thus enabling collaboration.
Introduction Python is a programming language that has a large sum of frameworks. One of…
Introduction What is Cloud Computing? According to Wikipedia, Cloud Computing is a paradigm for enabling…
Introduction In the fast paced world of technology, learning a versatile and high-in-demand programming language…
Introduction User Authentication policy is a very crucial process for every application and organization. It…
Introduction In previous articles, we have learnt about Django, how it works and how we…
Introduction In this article, we shall learn how to build and implement a blog app.…