Git first steps in Windows

This is the software used in Windows to have a GIT Client

  1. Install latest Git version (
    Ensure to remove Windows Explorer Integration as we should use TortoiseGit.
  2. Install latest TortoiseGit version (
    Alternative to TortoiseGit is GitExtensions (No file icons in Windows Explorer, installs kdiff)
  3. Install Beyond Compare 3.0 and configure TortoiseGit to use Beyond Compare
  4. Optionally install Visual Studio Tools for Git. for Visual Studio 2012-SP3 (Visual Studio 2013 includes Git tools by default)
  5. Optionally install PoshGit to have enhanced git coloured shell
  6. Optionally install Attlasian Source Tree


Function to SmartCreate Network Share in Powershell

This is a function to create a readonly Network Share if it doesn’t exist.

How to fix PowerShell remoting not working

If Powershell remoting is not working between two servers check this:

  • Check if winrm service is running. Full name is Windows Remote Management (WS-Management)
  • Execute winrm quickconfig
  • Enable-PSRemoting -Force command on server.
  • Get-ExecutionPolicy -List to check that you can execute…
  • Check that winrm port is the same as listener port
    • Winrm port: winrm get winrm/config
    • Listener port: winrm enumerate winrm/config/listener
    • Change listener port by (from elevated cmd!!!):
      Winrm set winrm/config/listener?Address=*+Transport=HTTP @{Port=”5985″}
  • Check Windows Firewall is not blocking port.
  • Check that choosen port (5985 or 81) is open (Cryping, NMap)
  • Check TrustedHosts list
  • Test with Invoke-Command -ComputerName SERVER -Port 5985 -ScriptBlock {“C:\Program files” |  Get-ChildItem}
  • Test Invoke-Command with Credentials