Squashing commits in git(through Visual Studio)

I am gonna tell you how to squash commits in Git through Visual Studio but the steps are same for any git command line.

Committing against a workitem in VSTS

The detailed steps for creating a workitem in VSTS and committing against it in Git version control system are provided below :-