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

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