Adds git config to setup.sh
Removes bug in register/listen