Simplify git only logic