fixed recursion in lsgit, removed recursion in install.sh