add functions and modify prompt to work with git