Well, In Technical Terms Git is an Source Distributed Version Control System. yeah I know it might go above your head but don't worry I'll explain it in simple terms.
In the lamest term, "Git is like a History sheet but an advanced one! Where you can check the history of changes done in the file/code. Git shows you what changes have been made and When it was made and by who."And it just doesn't show you the history but also allows you to Undo/Redo the changes. It's kinda Time Stone LMAO!
"Git has been designed with performance, security, and flexibility in mind."
Also,
According to the official Git Website, As with many great things in life, Git began with a bit of creative destruction and fiery controversy.
The Linux kernel is an open-source software project of a fairly large scope. For most of the lifetime of the Linux kernel maintenance (1991–2002), changes to the software were passed around as patches and archived files. In 2002, the Linux kernel project began using a proprietary DVCS called BitKeeper.
In 2005, the relationship between the community that developed the Linux kernel and the commercial company that developed BitKeeper broke down, and the tool’s free-of-charge status was revoked. This prompted the Linux development community (and in particular Linus Torvalds, the creator of Linux) to develop their own tool based on some of the lessons they learned while using BitKeeper. Some of the goals of the new system were as follows:
Since its birth in 2005, Git has evolved and matured to be easy to use and yet retain these initial qualities. It’s amazingly fast, it’s very efficient with large projects, and it has an incredible branching system for non-linear development.
How to install Git on any OS
Git can be installed on the most common operating systems like Windows, Mac, and Linux. In fact, Git comes installed by default on most Mac and Linux machines!
Download the latest Git for Windows installer.
When you've successfully started the installer, you should see the Git Setup wizard screen. Follow the Next and Finish prompts to complete the installation. The default options are pretty sensible for most users.
Open a Command Prompt.
Run the following commands to configure your Git username and email using the following commands. These details will be associated with any commits that you create:
$ git config --global user.name "Your Name" $ git config --global user.email "Sample@gmail.com"
Most versions of macOS already have Git installed, you just have to activate it through the terminal with the git version. However, if you don't have Git installed for whatever reason, you can install the latest version of Git using the below steps:
Download the latest Git for Mac installer.
Follow the prompts to install Git.
Open a Command Prompt.
Open a terminal and verify the installation was successful by typing git --version:
$ git --version
Configure your Git username and email using the following commands. These details will be associated with any commits that you create:
$ git config --global user.name "Your Name"
$ git config --global user.email "Sample@gmail.com"
As I just said that Git was developed by the same person who created LINUX. and 2nd thing about Git is that It was originally developed to version the Linux operating system! So, Now it makes sense that why it is easy to configure to run on Linux.
From your shell, install Git using apt-get:
$ sudo apt-get update
$ sudo apt-get install git
Verify the installation was successful by typing git --version:
$ git --version
Configure your Git username and email using the following commands. These details will be associated with any commits that you create:
$ git config --global user.name "Your Name"
$ git config --global user.email "Sample@gmail.com"
From your shell, install Git using dnf (or yum, on older versions of Fedora):
$ sudo dnf install git
Verify the installation was successful by typing git --version:
$ git --version
Configure your Git username and email using the following commands. These details will be associated with any commits that you create:
$ git config --global user.name "Your Name"
$ git config --global user.email "Sample@gmail.com"
We've successfully installed Git. now let's move to the next section!
Git suggests some repository management services that you can find useful. In general, repository management services are the key to fast and effective software development. The most popular ones based on Git are GitHub, Bitbucket, and GitLab.
GitHub is a git-based repository host originally launched in 2008 by Tom Preston-Werner, Chris Wanstrath, and PJ Hyatt. It is the largest repository hosting platform with more than 38 million projects. It permits to host and review code, manage projects and build software.
Bitbucket was launched in 2008 by an Australian startup and originally supported only Mercurial projects. In 2010 Bitbucket was bought by Atlassian, and from 2011, it started to support Git hosting, which is now its main focus. It provides free unlimited private repos, Jira and Trello integration, and built-in continuous delivery.
GitLab started as a project by Dmitriy Zaporozhets and Valery Sizov in 2011, which aim was to provide an alternative to the available repository management solutions. The company was, however, only incorporated in 2014. It provides continuous integration and delivery, agile development, Auto DevOps, etc.
I hope you folks now have a basic idea of What's Git, Who Created It, How to Install it on your machine, How does it work, Some basic Git commands. (you should try those commands instead of just reading them, you'll understand better!) We also checked out some of Git Management Services like GitHub, Gitlabs, etc.
When you're working with git make sure you use the right Git Service. I personally use GitHub (well I've tried GitHub only so).
LOL! (Lots of Love)
Also, Don't forget to share.
Go Up