How to amend the last commit in Git ?

Have you ever faced a situation where you left something out of your last commit ? It may be a file or an extra change to a file you just committed. Such kind of scenarios can easily be handled with Git amend command .