Move shell functions into .bashrc.

Otherwise, interactive, non-login shells break.
Don't export PROMPT_COMMAND.

Doing so seems to break non-login shells.
Use the osxkeychain git credential helper.

This saves https authentication in the keychain.