Interview Question and Answers for GIT DevOps | DevOps interview Question and Answers GIT


    In this video, I am going to explain the interview question and answers related to the version control system GIT?

    GIT Branching Strategy

    What is GIT?
    What is a repository in GIT? Or What is a .git folder?
    Git init
    What is the command you can use to write a commit message?
    git commit –a “Your Message Here”
    What are the advantages of using GIT?
    What language is used in GIT?
    What is the function of ‘GIT PUSH’ in GIT?
    What is “Staging Area” or “Index” in GIT?
    What is GIT stash?
    Git stash
    Git stash pop
    How will you know in GIT if a branch has been already merged into master?
    Git branch—merged
    Git branch—-no merged
    What is the function of the git clone?
    What is the function of ‘git config’?
    What does a commit object contain?
    How can you create a repository in Git? Or What is “git init”?
    What is ‘head’ in git and how many heads can be created in a repository?
    What is the purpose of branching in GIT?
    What is the common branching pattern in GIT?
    How can you bring a new feature in the main branch? OR what is git merge” or “git pull command”.
    What is another option for merging in git? Or What is “git rebase”
     What is a ‘conflict’ in git?
    How can conflict in git resolve?
    How to delete a branch what is the command that is used?
    Git branch -d
    What is the difference between ‘git remote’ and ‘git clone’?
    What is the function of ‘git diff ’ in git?
    What is ‘git status’ is used for?
     What is the difference between the ‘git diff ’and ‘git status’?
    What is the function of ‘git checkout’ in git?
    What is the function of ‘git rm’?
    What is the function of ‘git stash apply’?
    What is the use of ‘git log’?
    What is ‘git add’ is used for?
    What is the function of ‘git reset’?
    What is git Is-tree?
     What does ‘hooks’ consist of in git?
    Explain what is commit message?
    How can you fix a broken commit?
    Why is it advisable to create an additional commit rather than amending an existing commit?
     What is ‘bare repository’ in GIT?
    Name a few Git repository hosting services
    * Pikacode
    * Visual Studio Online
    * GitHub
    * GitEnterprise

    Please follow below links to learn and watch more

    Watch how to create, manage, backup and migrate AWS EC2 Instance

    Watch how to create and manage S3 bucket

    Watch how to create and manage Elastic Load balancer, application load balancer, and classic load balancer

    Watch how to create and manage AWS autoscaling

    Watch how to create and manage VPC in AWS, How to migrate resources

    Watch how to create and manage AWS Management Services like CloudWatch, Config, CloudTrail, Trust Advisor

    Watch how to host and manage domains on Route53 and How to load balance traffic across regions

    Watch how to create and manage IAM User, Group, Roles and Custom Policies

    Watch how to create and Manage AWS RDS in Single and Multi-AZ


    Previous articleKubernetes Namespaces Explained in 15 mins | Kubernetes Tutorial 21
    Next articlePython Interview Questions And Answers | Python Interview Questions For Freshers & Experienced 2021