Issues with getting started with Tutorial

Hello everyone, after a long hiatus from the Frappe framework, I decided to take it for a spin. I just installed bench and frappe following guide on GitHub.

Following the library management tutorial and when I run bench start, I get the following error

    16:36:48 web.1            |  * Detected change in '/home/frappe/frappe-bench/apps/frappe/frappe/www/desk.py', reloading
    16:36:48 web.1            | INFO:werkzeug: * Detected change in '/home/frappe/frappe-bench/apps/frappe/frappe/www/desk.py', reloading
    16:36:48 web.1            |  * Detected change in '/home/frappe/frappe-bench/apps/frappe/frappe/www/desk.py', reloading
    16:36:48 web.1            | INFO:werkzeug: * Detected change in '/home/frappe/frappe-bench/apps/frappe/frappe/www/desk.py', reloading
    16:36:49 web.1            | fatal: Not a git repository (or any of the parent directories): .git
    16:36:49 web.1            | Traceback (most recent call last):
    16:36:49 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/website/context.py", line 46, in update_controller_context
    16:36:49 web.1            |     ret = module.get_context(context)
    16:36:49 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/www/desk.py", line 21, in get_context
    16:36:49 web.1            |     boot = frappe.sessions.get()
    16:36:49 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 150, in get
    16:36:49 web.1            |     bootinfo = get_bootinfo()
    16:36:49 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/boot.py", line 65, in get_bootinfo
    16:36:49 web.1            |     bootinfo.versions = {k: v['version'] for k, v in get_versions().items()}
    16:36:49 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/change_log.py", line 97, in get_versions
    16:36:49 web.1            |     "branch": get_app_branch(app)
    16:36:49 web.1            |   File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/change_log.py", line 115, in get_app_branch
    16:36:49 web.1            |     shell=True).strip()
    16:36:49 web.1            |   File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
    16:36:49 web.1            |     raise CalledProcessError(retcode, cmd, output=output)
    16:36:49 web.1            | CalledProcessError: Command 'cd ../apps/libray_management && git rev-parse --abbrev-ref HEAD' returned non-zero exit status 128
    16:36:49 web.1            | 
    16:36:49 web.1            | 127.0.0.1 - - [24/Mar/2017 16:36:49] "GET /desk HTTP/1.1" 200 -
    16:36:49 web.1            | INFO:werkzeug:127.0.0.1 - - [24/Mar/2017 16:36:49] "GET /desk HTTP/1.1" 200 -
    16:36:49 web.1            | Unhandled exception in thread started by <bound method Thread.__bootstrap of <Thread(Thread-19, stopped daemon 140549340243712)>>
    16:36:49 web.1            | Traceback (most recent call last):
    16:36:49 web.1            |   File "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
    16:36:49 web.1            |     self.__bootstrap_inner()
    16:36:49 web.1            |   File "/usr/lib/python2.7/threading.py", line 814, in __bootstrap_inner
    16:36:49 web.1            |     (self.name, _format_exc()))
    16:36:49 web.1            |   File "/usr/lib/python2.7/traceback.py", line 241, in format_exc
    16:36:49 web.1            |     etype, value, tb = sys.exc_info()
    16:36:49 web.1            | AttributeError: 'NoneType' object has no attribute 'exc_info'
    16:36:49 web.1            |  * Restarting with inotify reloader
    16:36:49 web.1            |  * Debugger is active!
    16:36:49 web.1            |  * Debugger PIN: 182-106-158
    16:36:49 web.1            | 127.0.0.1 - - [24/Mar/2017 16:36:49] "GET /assets/frappe/images/frappe-bird-thin.svg HTTP/1.1" 200 -

This is about the third time I am unable to go past the basic tutorials on the frappe framework. Being a Java EE developer and used to the luxury of having things just working, I am really not feeling the frappe spirit. Any idea how to move forward?

Ok so seeing this line

CalledProcessError: Command 'cd ../apps/libray_management && git rev-parse --abbrev-ref HEAD' returned non-zero exit status 128

I initialized a git repo in the libray_management app in the apps folder. Still same

you will need to initialize the libray_management app.

Go To apps/libray_management and run git init command

Did that. Still same. Ref my second comment