How do I know which of local commits are not in remote?
By, git log
I see commit history, but I want to find if the last commit is already pushed into server or just a local one. Is there any way to know that without going to server and matching with local history?
Finally I got a clue,
git status
Git status also shows the number of commits your current branch ahead from remote.
Thanks to @Danh for comment