Update command_prompt

Added ability to show the correct branch and repo name after changes the directory