Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Git Branches and Merging Remote Branches Local Tracking Branches

How to create a tracking branch and check it out?

I'm stuck on this quiz questions in the Remote Branches section of Git Branches and Merging Course:

Fill in the blank to complete the command to create a tracking branch for the origin/wolf branch and check it out.

$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/red-riding-hood
  remotes/origin/wolf
  remotes/origin/master
$ git checkout __

What is the command after "git checkout"?

1 Answer

wolf. The teacher's notes for the preceding video walks you through it.

Thanks! It's so simple and I was overthinking it.