This isn't analysis, it's pure topology. $\mathbb{C}\setminus\{0\}\rightarrow\mathbb{C}\setminus\{0\},z\mapsto z^2$ is a non-trivial, connected cover, so it doesn't admit a global section, i.e. there is no global square root. The image of $\pi_1(\mathbb{C}\setminus\{0\})\cong\mathbb{Z}$ under this covering map is identified with $2\mathbb{Z}$, so any map $X\rightarrow\mathbb{C}\setminus\{0\}$ which maps $\pi_1(X)$ into $2\mathbb{Z}$ admits a lift through the covering.
The covering map is holomorphic, whence a local biholomorphism, so a lift of a holomorphic map through it will be holomorphi…