The Awesomeness of Git
Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source-code management in software development, but it can be used to keep track of changes in any set of files. I use to have a parochial view on git, not until this Bootcamp, I realized its true potential. In a moment I will be taking us on an adventure to Git world.
you can do a lot of things with git, and many of the rules of what you *should* are not so much technical limitations but are about what works well while working together with other people. so git is a very powerful set of tools.
Git branching its an awesome feature in git, where you create a branch from an existing branch, and whatever you do in your new branch doesn’t in any way affects its parent branch. This feature is very powerful in situations where you don’t want to mess up an already working feature in a previous branch. On a branch, several commands can be used to communicate effectively with git.
GIT ADD COMMAND
Adds all modified and new (untracked) files in the current directory and all sub-directories to the staging area (a.k.a. the index), thus preparing them to be included in the next git commit.
GIT COMMIT COMMAND
The “commit” command is used to save your changes to the local repository. … Using the “git commit” command only saves a new commit object in the local Git repository.
GIT PUSH COMMAND
The git push command is used to upload local repository content to a remote repository. Pushing is how you transfer commits from your local repository to a remote repository
The above listed commands doesn’t cover a third of all the commands available to git, with pull request, collaboration on the platform is enhanced. git or github is where collaboration or code lives.