added checkout of desired commit