2 answers

It looks like SCL git version didn't want to work with my bitbucket server even thought all libraries where installed. So my solution to this problem, downloaded latest git version from Github and compiled it from source then added neccesary paths. Now everything works. :)