Made more temporary directory changes for Git repository commands.