Suppose $f$ is continuous and bijective... I claim either $f(x) = \phi x$ for all $x$, or $f(x) =-x/\phi$ for all $x$. Here $\phi=(1+\sqrt{5})/2$.
We use the Fibonacci numbers $F_n$:
$$
F_{n+2}=F_{n+1}+F_n,\qquad F_0=0,\qquad F_1=1 .
\tag{1}$$
With $F_{-n}=(-1)^{n+1}F_n$, the recurrence holds for all integers, positive and negative. And of course
$$
F_n = \frac{\phi^n+(-\phi)^{-n}}{\sqrt{5}}
\tag{2}$$
We assume $f$ is continuous and bijective. And satisfies
$$
f(f(x)) = f(x) + x
\tag{3}$$
Proved in another answer: $f(0)=0$.
So $f$ is either increasing or decreasing. Let's consider the increasing case. So $f$ sends positive to positive and negative to negative.
I claim $f(x) = \phi x$ for all $x$.
Let $a > 0$, $f(a)=b$. (The case $a<0$ is below.) We will show $b = \phi a$.
Starting with $f(a)=b$, we get by induction using (1) and (3):
$$
f(F_{k-1}a+F_{k}b)=F_{k}a+F_{k+1}b
\tag{4}$$
for all $k \ge 0$. And applying
(1), (3) backward, we get (4)
for negative $k$ also. (We assumed $f$ is bijective, so we
can go backward in (3).)
Since this is the increasing case, we have $b=f(a)>0$ since $a>0$.
For $k>0$ consider the negative values $-k$:
$$
f(F_{-k-1}a+F_{-k}b)=F_{-k}a+F_{-k+1}b
\\
f\big((-1)^kF_{k+1}a+(-1)^{k+1}F_{k}b\big)
=(-1)^{k+1}F_{k}a+(-1)^kF_{k-1}b
$$
What is the sign of $v_{-k}=(-1)^kF_{k+1}a+(-1)^{k+1}F_{k}b$ ? If $b/a > \phi$,then by (2) the sign is $(-1)^{k+1}$ for large $k$. So $f$ sends positive to negative and negative to positive for these values $v_{-k}$. Similarly, if $b/a<\phi$, then the sign of $v_{-k}$ is $(-1)^k$ for large $k$, and again $f$ sends positive to negative and negative to positive for these values $v_{-k}$. Since this is impossible, we conclude $b/a=\phi$.
For case $a<0$, we have $b<0$. Again we get negative to positive and positive to negative for $v_{-k}$ with $k$ large.
Now consider the decreasing case. I claim $f(x) = -x/\phi$ for all $x$. We still get (4). But now $f$ is supposed to send positive to negative and negative to positive. This time we get our contradictions by considering $v_k$ for large positive $k$ in (4).