Check user's shell before trying to change it
Fix git pull to have a work tree