1.The script automaticaly reads the working tree to determine if it is a git directory.
2.It then checks for any chanes to be staged before commit.
3.Thereafter, it checks for the github branch name of the repository.
4.After that the user is prompted to write a commit message.
5.The script appends all the appropriate variables to the commit message and branch name.
6.The script then pushes to the branch named. easy peasy lemon squeezy.