added a new functions
Added .gitignore
Changed the logic of the script

* added different levels of file states
* show how many staged, untracked, modified files or how many conflicts are in
the current working tree
* show the current branch and commit, if the HEAD in detached state, show only
commit info