This can be (almost) completely solved using algebraic manipulation:
$$\frac{\sqrt{\tan x+1}-\sqrt{x+1}}{\sin^2(x)} = \frac{\tan x -x}{\sin^2 x\cdot(\sqrt{\tan x+1} +\sqrt{x+1})}$$
Now, since:
$$\lim_{x\to 0}\frac{1}{\sqrt{\tan x+1} +\sqrt{x+1}}=1$$
Our problem reduces to:
$$\lim_{x\to 0}\frac{\tan x -x}{\sin^2 x}= \lim_{x\to0}\frac{1}{\sin x}\bigg(\frac{\tan x}{\sin x}-\frac{x}{\sin x}\bigg)=$$
$$\lim_{x\to0}\frac{1}{\sin x}\cdot\lim_{x\to0}\bigg(\frac{\tan x}{\sin x}-\frac{x}{\sin x}\bigg)$$
Also,
$$\lim_{x\to0}\frac{\sin x}{x} = \lim_{x\to 0}\frac{\tan x}{\sin x} = 1$$
Then:
$$\lim_{x\to0}\frac{1}{\sin x}\cdot\lim_{x\to0}\bigg(\frac{\tan x}{\sin x}-\frac{x}{\sin x}\bigg) = \lim_{x\to 0}\frac{1}{\sin x}\cdot 0 = 0$$
I am aware of the issue I have in my solution - most Calculus instructors I know would accept this work for this question.