I have made two commits in my git repository and push them to my git server
the two commits are
This doesnt make to much sense - if you commited the files you have them in your repo anyway.
Maybe this is what you want
git checkout -- FileAOnly
Or
git checkout origin/master -- FileAonly