Avoid committing commented-out code -- instead, just delete it. Using Git means you can always go back to an older version if you want to revive it.