How to electrically shift the phase of a signal?
An op amp integrator will give 90 degree phase shift. Integrate again for 180 etc.

If you want, say, unity gain and you know the frequency, \$\omega\$, then choose \$\small RC =\large \frac{1}{\omega}\$