checking commit on branch