formatting cleanups
converted git remote
converted git branch and fixed var in main loop
added function to remove fixed beggining of a string
use strip_prefix function
merge functions used only together