Storing the githash with the assembly can make it easier to identify exactly what code is running. There isn't an attribute that
directly fits with doing this, but one way is by storing it as Metadata (warning: this attribute is only available in .NET 4.5 and above)

If your solution is inside a git repository you can get the git hash like this (remember to open Fake.Git):

1:

letcommitHash=Information.getCurrentHash()

And set like this:

1:

AssemblyInfo.Metadata("githash",commitHash)

One of the easiest ways to retrieve this hash is to load use a reflector program, like ILSpy:

Some companies split their AssemblyInfo into a SolutionInfo.cs which is shared by all projects and a specific AssemblyInfo per project which contains the product data.
All versioning data is generated by the AssemblyInfo task into the SolutionInfo.cs and the AssemblyInfo files are edited manually. This could look like this: