The preferred way to include SDK in your app is by using one of the stable branches (v1.x, v2.x, ...)
In this way you are sure to use the last patched version that is compatible with your implementation.