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 Introduction to Git First Commits Introduction

Which terminal

Earlier we were asked to download Ubuntu for windows. We are not being asked to download Git. They both seem to be terminals, what is the difference?

1 Answer

Rune Andreas Nielsen
Rune Andreas Nielsen
5,354 Points

Hi Joseff,

When you download Ubuntu for windows you're actually running Linux as a subsystem for windows - you can read more about it here https://docs.microsoft.com/en-us/windows/wsl/faq

When you install git on windows you get what is called Git for Windows that provides a BASH emulation used to run Git from the command line.

To clarify when you use Ubuntu for windows you're actually executing commands on native Linux command-line directly on Windows. When you use git bash you run an emulation of bash on windows, meaning you're not using tools directly on Linux/Unix, but there is an abstraction layer that allows you to work on windows like you would on Linux/UNIX environments.

// Rune