Stage tracking for Git