I\'m trying to following this Github tutorial: https://www.youtube.com/watch?v=73I5dRucCds When I try to change my directory to my desktop, I get this in my Git Shell:
The home directory of cygwin based apps like babun, git-bash, mobaxterm etc. i.e. ~ or $HOME is not the same as windows.
Windows user path is in the %USERPROFILE% environment variable which in cygwin syntax is /c/Users/YOURUSER (or /cygdrive/c/Users/YOURUSER), like pointed out by the other answers.
Also, Cygwin based apps handle HOME if it is already set to a custom path in Windows, see the Cygwin FAQ page: https://www.cygwin.com/faq.html#faq.setup.home