You'll see here my profile.ps1 script, along with a module which contains most of the logic.
Of particular interest is the Set-HostColor function which includes configuration for my prompt and PSGit settings...
Feel free to ask for explanation of anything you want to know.
If you really want a copy of it, you can use the Install-Module.ps1 to install it on your box:
# Windows defaults to Tls1.1 which won't work with this github URL
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
iex (irm https://github.com/Jaykul/Profile/raw/master/Install-Module.ps1)
Or you can just install all the required modules, and run Set-PowerLinePrompt
:
Install-Module Environment, Configuration, PSGit, PowerLine, DefaultParameter