> 1. Install Gitlens extension.
> 2. Go to Settings -> Extensions -> Git -> Post Commit Command, choose "push" from dropdown.
> 3. Make some changes in your code.
> 4. Do
git commit
from ctrl+shift + p The post commit command will take care of the rest.