Let $p:E\rightarrow B$ be a fibration (i.e. have the homotopy lifting property with respect to all spaces), and $f: B'\rightarrow B$ and $g:B\rightarrow B'$ be homotopy inverses. Denote by $\pi_0\Gamma(B,E)$ the set of homotopy classes of sections of $p$, and likewise for other fibrations. I am interested in the following
Conjecture: There is a bijection $\beta:\pi_0\Gamma(B,E) \rightarrow \pi_0\Gamma(B',f^*E)$.
This would be a generalization of the elementary result $[B,X] \underset{\approx}{\xrightarrow{f^*}} [B',X]$, which is the case of trivial fibrations.
Some rough ideas:
A good candidate for $\beta$ appears to be the induced map $f^*:\pi_0\Gamma(B,E) \rightarrow \pi_0\Gamma(B',f^*E)$ sending $\left[s:B\rightarrow E\right]$ to $\left[({\rm id}_{B'},s\circ f): B' \rightarrow f^*E\right]$, recalling $f^*E=B'\times_{f,p}E$. To prove $f^*$ is bijective, it would suffice to prove that the compositions $g^* \circ f^*$ and $f^* \circ g^*$ below are bijective: \begin{equation} \pi_0\Gamma(B,E) \xrightarrow{f^*} \pi_0\Gamma(B',f^*E) \xrightarrow{g^*} \pi_0\Gamma(B,g^*f^*E) \xrightarrow{f^*} \pi_0\Gamma(B',f^*g^*f^*E). \end{equation} It is easy to see that $\pi_0\Gamma(B,E)\approx\pi_0\Gamma(B,g^*f^*E)$. This is because $E\rightarrow B$ and $g^*f^*E\rightarrow B$ are pull-backs along homotopic maps $\rm id_{B}$ and $f\circ g$, and so are necessarily fiber homotopy equivalent (i.e. there eixst fiber-preserving maps between the total spaces whose compositions are homotopic to the identities via fiber-preserving maps); see e.g. Proposition 4.62 of Hatcher's "Algebraic Topology." For the same reason, $\pi_0\Gamma(B',f^*E) \approx \pi_0\Gamma(B',f^*g^*f^*E)$. However, I do not see why the bijections here should coincide with $g^* \circ f^*$ and $f^* \circ g^*$ above.
I do not know if this is more suggestive, but in the diagram below, every diagonal map $B\rightarrow E$ making the lower right triangle commute gives rise to a map $B'\rightarrow E$ making the whole diagram commute. Assuming $\beta = f^*$, my conjecture reads: this assignment is bijective when we pass to homotopy classes. (The surjectivity is like a relative lifting problem.)
~
B' E
|f |p
v v
B--id->B
Can we carry these ideas further? If not, do we still have a bijection $\beta$? Perhaps you have a counterexample in mind in which case the question would be addressed. Thanks in advance!
Have a look at this paper
R. Brown and P.R. Heath, ``Coglueing homotopy equivalences'', Math. Z. 113 (1970) 313-362.
available here. A special case is that you get a homotopy equivalence $f^* E \to E$. This should be enough for you.
May 14, 2015 (I have been on vacation.) I write [BH] for the cited paper.
Note that Corollary 1.4 of [BH] says under your conditions and with your notation that the map $f': f^*E \to E$ is a homotopy equivalence. Theorem 3.4 of [BH] gives you good control over homotopy inverses $g,g'$ of $f,f'$ and the homotopies to identities of $gf,fg,g'f',f'g'$. This should enable you to relate the homotopy classes of sections!