Git bash home directory => http://etunisin.nnmcloud.ru/d?s=YToyOntzOjc6InJlZmVyZXIiO3M6MjE6Imh0dHA6Ly9iaXRiaW4uaXQyX2RsLyI7czozOiJrZXkiO3M6MjM6IkdpdCBiYXNoIGhvbWUgZGlyZWN0b3J5Ijt9 However, strings which contain spaces must be enclosed in quotes. Now open the new Git folder. This is more of a temporary fix or a fix if you don't care if other things break. For example, for me it changes where my. The square brackets themselves are not typed into the command line. Personally, I just use quotes around strings in general. We'll use the vi editor that comes with git Bash. In my answer I will make use of this also. First, every time you switch to another project you end up having to switch your Windows Home directory, it would be better to have something like a Windows. When you do start to have annoying problems down the road, you probably won't remember this change. As the makers of , the best Git client for Mac and Windows, we help over 100,000 users in companies like Apple, Google, Amazon, Twitter, and Ebay get the most out of Git. Also for those not sure how to modify your. Or you can just use the cd command directly in your. All you need do to get going is to download a file and unzip it into a folder. Also it doesn't answer the question. Minor problem solved, and more important, your back to one. Basic Git Command Line Reference for Windows Users - You can also run this script from anywhere on the computer, not just in the bin directory. I am developing on a windows machine. The only place I need for linux command line is Git Bash. The problem is: When I open it, I am in the home directory. I have to change the directory to my workspace, like: cd. This should be simple but I have zero knowledge about Linux command line. I am really appreciated If you can walk me through how git bash home directory create that. The answers below are right for fixing this permanently, however even without these you shouldn't be handtyping this every time. Git Bash includes a command history which persists between sessions unlike Windows consolesso whenever you want to repeat this git bash home directory, instead of typing it again, just type Ctrl-r and then part of the command, eg. In general, invest a few minutes in learning how to use the command history and then you will be using it a lot, as you repeat the various git commands. Or you can just use the cd command directly in your. The name foo is just an example; you should pick a more meaningful name. Edit: Also check that the Target value does not include the --cd-to-home option as noted in the comments below. If so, edit that variable by highlighting the variable name and clicking edit. Make the new variable name the desired path. For example, for me it changes where my. This is more of a temporary fix or a fix if you don't care if other things break. Changing your home won't cause active damage like deleting your hard drive but it's likely to cause insidious annoyances later. When you do start to have annoying problems down the road, you probably won't remember this change. In any event, I think this answer sheds some light on how the default directory is set. Wanted to provide Win 10 instructions. This looks like an incorrect setup. Alternatively, you can just remove the.