Git revert file to master by git checkout -- filenamegit checkout -- filename Please follow and like us: