check if script is executed in a repo root folder
check if repo is already initialized