Is it possible to set up a git repository in the Icloud?
Yes it is! That is very helpful, if you are working on different OS X Devices!1) we need a simbolic link
$ cd ~
$ ln -s Library/Mobile\ Documents/com~apple~CloudDocs/ ICloud
$ cd ICloud
2) create a git repository
$ mkdir git-repos && cd $_
$ git init –bare my-gitproject.git
3) Now we got to our local project, that we want to develop in the version controll git
$ cd ~/develop
$ mkdir my-new-project && cd $_
$ echo “.DS_Store” > .gitignore
$ echo “write your doku here :)” > README
$ git init
$ git add .
$ git commit -m “initial commit”
$ git remote add origin ~/ICloud/git-repos/my-new-project.git
$ git push -u origin master