What is Git?
Git is a free and open-source version control system used widely by the programmers these days. Now, what is a version control? It is the management of changes to documents, computer programs, large web sites, and other collections of information. For instance, as a programmer, we keep the tract to code changes-basically, save an initial version of our code into Git. And during the update of the code, we can save it into Git again, and again and again. This process, help us to look back at all of the changes we have made over the time. Further, this process helps us to see and understand the changes when we made during the particular time, as well as to track down bugs, or go back to a previous version.
Some of the terms used in Git
· Directory (or the Folder)
· Terminal or Command Line (Interface for Text Commands)
· CLI (Command Line Interface)
· CD (to change the directory)
Git commands (all commands in lower case)
· Git clone – brings the repo that has been hosted somewhere in Github to your local folder
· Git add – track your files for changes
· Git Commit – to save the changes to the file /folders
· Git push – Upload all git commits to the remote repo like github
· Pull – Download changes from the remote repo to your local machine i.e., the opposite of push
Will review your comment and get back!