Don't check in commented out code. If you need to keep it, store it in a file on your own machine or look into git stash.