Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,342 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