Remove git portion of commit var.