Q. Git is a ___________.
Q. What is the Git command to skip staging and commit the changes directly?
Q. How to display only the names of the changed files?
Q. What is the Git command to view all the commits since 1st January 2017 ?
Q. When you run git fetch from your local repo, it will update your local changes in working area?
Q. Which type of remote URL does not require your user-name and password while for cloning or pushing?
Q. Which command can you use to update remote refs with local refs?
Q. What is the Git command to create a branch?
Q. When you run git fetch from my local repo, will it update your local code and target branch?
Q. Which of the following creates new commit when you pull new changes from master to the feature branch?
Q. Developers A and B are building the same feature on feature/X branch. Developer B made some changes and pushed to the remote. How can developer A get the changes in the local repo code and build on top of developer B's work?
Q. How can you fix a broken commit?
Q. What does the command Git reset -- soft HEAD^ perform?
Q. What is the Git command to blow away all the changes in a file in the working area, since the previous commit?
Q. How to delete unpublished Git commits and get rid of them permanently?
Q. What is the Git command to view the last 3 commits in one line ?
Q. What does the command git add. do?
Q. Which command shows the changes between commits?
Q. What is the Git command to view all the remote branches?
Q. Which command shows the difference between the working directory and the index or staging area?
Q. How would you display the list of files changed in a particular commit SHA ?
Q. Which command would you use to view the history of commits?
Q. What is the command to reset your index as well as the working directory to the state of your last commit?
Q. What is the command to delete a branch in your remote repository?
Q. Which of the following best describes Git?
Q. How can you temporarily switch to a different commit?
Q. What is the command to view all the commits made by a specific person (Jim)?
Q. What is a good practice to follow when you want to backup a local branch?