modified git bash functions to be more stable