Practice Questions

Test your understanding with targeted questions related to the topic.

Question 1

Easy

What command initializes a new Git repository?

πŸ’‘ Hint: Think about how you start a project.

Question 2

Easy

What does git status do?

πŸ’‘ Hint: Consider what you might need to know before making changes.

Practice 4 more questions and get performance evaluation

Interactive Quizzes

Engage in quick quizzes to reinforce what you've learned and check your comprehension.

Question 1

What is the command to create a new branch in Git?

  • git new-branch
  • git checkout -b branch-name
  • git branch new-branch

πŸ’‘ Hint: Look for the command that combines switching and creating.

Question 2

True or False: GitHub allows tracking of issues related to your projects.

  • True
  • False

πŸ’‘ Hint: Consider what project management features GitHub offers.

Solve 1 more question and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

You just developed a new feature in a branch named 'feature-login'. How would you merge this feature back into the main branch without losing any previous commits?

πŸ’‘ Hint: Remember, always switch back to the main branch before merging!

Question 2

Describe how to resolve a merge conflict that occurs when merging two branches in Git.

πŸ’‘ Hint: Consider what Git does to identify conflicts when merging.

Challenge and get performance evaluation