# Git actions hang when trying to reach remote repository

**URL:** https://www.finalbuilder.com/forums/t/git-actions-hang-when-trying-to-reach-remote-repository/2396
**Category:** Discussion
**Created:** [July 23, 2015, 11:10am UTC](https://www.finalbuilder.com/forums/t/git-actions-hang-when-trying-to-reach-remote-repository/2396 "2015-07-23T11:10:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [July 23, 2015, 11:10am UTC](https://www.finalbuilder.com/forums/t/git-actions-hang-when-trying-to-reach-remote-repository/2396/1 "2015-07-23T11:10:16Z")

</div>

Hi,  
  
we have recently switched our central git repository from a bare windows share to a gitlab server. In general this works a lot better for us but now we have the problem that some git actions do not work when startet from a FinalBuilder script.   
Specifically the git process is started but it never does any actual work. However this only seems to happen with git actions that actually need to contact the server. Everything that only happens locally seems to work just fine. It also does not seem to matter whether I use FB’s built in git actions or use the Execute Program action to run git.exe directly. The live log does not show any output from the git process either.  
If I issue the same commands from a command line everything works as expected. I have attached a very simple test project with which I can reproduce this behavior. This happens both when starting the script from the IDE as was as from Continua.  
We use FB 7.0.0.3291 and git 1.9.5.  
  
Has anyone experienced somehing similar when working with git from FinalBuilder?  
  
Regards,  
Christoph[\_\_35092\_\_0\_\_New Project 1.fbz7](https://www.finalbuilder.com/forums/uploads/default/original/2X/c/c8a134c987de7b4d7034e14b52f1e04d06cf2d8e.fbz7) (2.332 KB)

---

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [July 23, 2015, 1:06am UTC](https://www.finalbuilder.com/forums/t/git-actions-hang-when-trying-to-reach-remote-repository/2396/2 "2015-07-23T01:06:44Z")

</div>

Okay nevermind. This is just a case of msysgit being a piece of !§$%.   
 Apparently it does not use the .ssh directory from the user directory when it is started from FB but instead looks for the folder in %ProgramFiles(x86)%\Git\bin !!   
 The same thing happens when I run git from a cmd on my dev machine instead of the included git bash.
