Simplify gitall logic