I have pushed 3 commits in the remote repo and I am worry of the result on what effect does 3 pushed commits will do. Will the first commit will be applied or the latest commit? thanks. what should I do?
After first commit, without changing the file if you want to perform commit, this will give you a warning: "No changed items were selected. Do you wish to amend the last commit?" I hope you got this. Then if you go for yes option, then it will re-commit and update the pointer.
You can check the changes in Gitblit, if it is configured for you.
Also if your committed file is correct (has same code) then nothing to worry.