By default the startup directory where you appear when you launch Git Bash is
/, that is the installation folder of Git Bash.
If you need to find out the path to
/, you can run this command:
$ explorer .
It opens the current directory in the File Explorer so you will see the path in the address bar.
Cool Tip: How to change a Home (
~) directory in Git Bash! Read More →
Change Default Directory in Git Bash
To change the default startup directory of Git Bash, do the following steps:
- Right-click on Git Bash’s shortcut icon and go to the
- In the
Start infield, paste the path to the desired folder, e.g.
Targetfield if it exists