If you want an external .git directory you can create one: If you need it to be ignored by Dropbox: Initialize .git Add a alias in .zshrc or bash profile: Then you can use it as If you need it for PhpStorm IntelliJ to detect it , You can convert it to bash script too:


