how to go back to a previous build in commit in github code example Example: git go back to previous commit git checkout 12feg3435 #commit ID