What is Git?
Git is a free and open-source distributed versions control system use to handle small to very laravel projects code enabling multiple developers to work together. Git additionally makes cooperation simpler, permitting changes by numerous individuals to be generally converged into one source. Git is generally utilized for both open source and business programming improvement, with huge advantages for people, groups and organizations.
History & Origin of GIT
History. Git development began in April 2005, after many developers of the Linux kernel gave up access to BitKeeper, a proprietary source-control management (SCM) system that they had been using to maintain the project since 2002.
How Github works architecture?
Use case of Git
- Tracks history
- Free and open source
- Supports non-linear development
- Creates backups
- Supports collaboration
- Branching is easier
- Distributed development
Feature and Advantage of using GIT
- Tracks history.
- Free and open source.
- Supports non-linear development.
- Creates backups.
- Supports collaboration.
- Branching is easier.
- Distributed development.
Best Alternative of GIT
- Azure DevOps Server.
- Helix Core.
- AWS CodeCommit.
- Rational ClearCase.
- Micro Focus AccuRev.
Best Resources, Tutorials and Guide for GIT
Interview Questions and Answer for GIT
- What is the use of the git config command?
The git config command is used to set git configuration values on a global or local system. It alters the configuration options in your git installation. It is generally used to set your Git email, editor, and any aliases you want to use with the git command.
2. What is a git repository?
A repository is a file structure where git stores all the project-based files. Git can either stores the files on the local or the remote repository.
3. What is ‘git add’ is used for?
‘git add’ adds file changes in your existing directory to your index.
4. What is git Is-tree?
‘git Is-tree’ represents a tree object including the mode and the name of each item and the SHA-1 value of the blob or the tree.
5. What is the use of ‘git log’?
To find specific commits in your project history- by author, date, content or history ‘git log’ is used.