undoing last commit
Keep changes in staged area:
git reset --soft HEAD~1
git reset --hard HEAD~1
submodules
Use relative import paths for independence of ssh / https transport
[submodule "modules/mySubmodule"]
path = modules/mySubmodule
url = ../mySubmodule.git