In E.G.Phillips Functions of a complex variable it is stated that for an integral of the form $\int_{0}^{\infty}x^{a-1}Q(x)dx$ where $a \in \mathbb{R}$ is not necessarily an integer, the contour to be used is the following (the wavy line indicates a cut on the complex plane for $\Re(z)>0$): 
Then it goes on to say that we must pay attention to the point on the upper and lower edge of the cut since the complex number(written in polar form $z = \rho e^{i\theta}$) acquires a phase. For example, if I have defined $\theta = \theta_p + 2\pi n, n \in \mathbb{Z}$, then $\theta_p = 0$ when we approach the cut from above, whereas $\theta_p = 2\pi$ when we approach the cut from below. I understand the problem given by the plane cut (for more details, I usually refer to the following answer https://math.stackexchange.com/a/3512489/1096913), anyways I don't get how I should implement this fact when parametrizing $\gamma_1, \gamma_2$. In particular, I'd like to see how to use this particular contour with a basic example (always regarding the segments that lie just above and below the cut, since I know how to compute the integration along the other ones). Thanks in advance.