basic working version with git