handle git things and tidy up source tree as should be