Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I need to use git-bash instead of cmd?

Tags:

git-bash

I am using git in cmd(Command Prompt). But when I choose a course on GitHub Learning Lab they recommend git bash for windows os. As I said, I am using cmd and why do I need to use git bash instead of cmd? Are there any benefits when I move to git bash this?

like image 562
Jagannath Krishna.P.A Avatar asked Sep 05 '25 07:09

Jagannath Krishna.P.A


1 Answers

You don't need to use Git Bash. It is just conventional, because Git was developed and designed on Linux and most Git users use Linux and using Git Bash on Windows makes it a uniform experience. You can certainly use Git on cmd; just make sure you add C:\Program Files\git\cmd to your PATH.

like image 161
k314159 Avatar answered Sep 07 '25 21:09

k314159