Change directory before switching branches

Running submodule update --init will error unless you are in your projects
TLD. Uses `git rev-parse --show-toplevel` to get the projects TLD.