Fixed not loading correct branch on gitlab
Implemented folder sync for gitlab also
Added better error support for gitlab
Added support for not showing the sidebar if repository is invalid