Refactor use of git with bashmenot