Extract get_osci_sources to get rid of dupe
Use git checkout to be able to use tags as well
Extract get_project_config
Use git checkout to support tags